package org.example.springboot.convert;

import org.example.springboot.entity.Ration;
import org.example.springboot.vo.RationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 
*
* @author Fz
* @since 1.0.0 2024-07-31
*/
@Mapper
public interface RationConvert {
    RationConvert INSTANCE = Mappers.getMapper(RationConvert.class);

    Ration convert(RationVO vo);

    RationVO convert(Ration entity);

    List<RationVO> convertList(List<Ration> list);

}